package cn.migu.music.hangupsms.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import cn.migu.music.hangupsms.common.entity.QueryContractRightsReq;
import cn.migu.music.hangupsms.common.entity.QueryContractRightsRsp;

/**
 * @version 1.0 created by duanhao@migu.cn on 2022/3/8 11:12 上午
 */
@FeignClient(name = "egatewayMusic-service", url = "${host.egatewayMusic:http://218.200.160.101:8080}")
public interface EgateWayMusicService {
    /**
     * 查询用户权益
     *
     * @param
     * @return
     */
    @PostMapping(value = "/peforbusms/miguNet/queryContractRights.action", headers = { "remote=centermusic-http", "Content-Type=application/json" })
    QueryContractRightsRsp queryContractRights(QueryContractRightsReq queryContractRightsReq);

}
